package com.wyl.bloomFilter;

/**
 * @author 吴宇亮 on 2023/6/20 17:14
 */
public class BloomFilterTest {

    public static void main(String[] args) {
        BloomFilter bloomFilter = new BloomFilter(10, 0.01);
        bloomFilter.add("1");
        bloomFilter.add("10");
        System.out.println(bloomFilter.contains("1"));
        System.out.println(bloomFilter.contains("3"));

    }
}
